﻿namespace UnityEngine
{
    using System;
    using System.Runtime.CompilerServices;

    public class Motion : UnityEngine.Object
    {
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]
        public extern bool ValidateIfRetargetable(bool showWarning);

        private float _apparentSpeed;
        public float apparentSpeed
        {
            [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]
            get
            {
                return _apparentSpeed;
            }
        }

        private float _averageAngularSpeed;
        public float averageAngularSpeed
        {
            [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]
            get
            {
                return _averageAngularSpeed;
            }
        }

        public float averageDuration { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; }

        public Vector3 averageSpeed { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; }

        public bool isAnimatorMotion { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; }

        public bool isHumanMotion { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; }

        public bool isLooping { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; }
    }
}

